#!/bin/bash

./autogen.sh \
&& ./configure --with-jdk-include=/usr/lib/jvm/default-java/include \
               --with-jdk-system-include=/usr/lib/jvm/default-java/include/linux CXXFLAGS='-O2' \
&& make -C Java \
&& make -C Scala check
